import router from '@system.router';
const REQUEST_SHARE_FILE = 1003;
export default {
    data: {
        title: "",
        imgList:[],
    },
    onInit() {
        this.title = this.$t('strings.world');
    },
    onBallClick() {
        router.push({
            uri: 'pages/ballpage/ballpage',
      })
    },
    onBallServerClick() {
        router.push({
            uri: 'pages/ballpageserver/ballpageserver',
        })
    },
    async onShareClick() {
        let action = {
            bundleName: "com.jky.filesystem",
            abilityName: "com.jky.filesystem.ServiceAbility",
            messageCode: REQUEST_SHARE_FILE,
            data: '',
            abilityType: 0,
            syncOption: 0
        }
        await FeatureAbility.callAbility(action);
    },
}
